write

suspend fun write(data: String, encoding: String? = "utf8", createParents: Boolean = true)
suspend fun write(data: ByteArray, createParents: Boolean = true)
suspend fun write(data: <ERROR CLASS>, createParents: Boolean = true)

Write to this file, truncating it if it exists, and creating it if not.